package com.my.meitianbackup.controller;

import com.jfinal.core.Controller;
import com.my.meitianbackup.model.Meitian;

public class DetailController extends Controller {
	public void index() {
		String id = getPara(0); 
		Meitian meitian = Meitian.dao.findById(id);
		setAttr("item",meitian);
		setAttr("imgs",meitian.getGoodImgs());
		render("goodDetails.jsp");
	}
}
